# RUN: llvm-mc --disassemble %s -triple=x86_64 -x86-asm-syntax=intel --output-asm-variant=1 | FileCheck %s

# CHECK: vcvtne2ps2bf16 ymm22, ymm23, ymm24
0x62,0x82,0x47,0x20,0x72,0xf0

# CHECK: vcvtne2ps2bf16 ymm22 {k7}, ymm23, ymm24
0x62,0x82,0x47,0x27,0x72,0xf0

# CHECK: vcvtne2ps2bf16 ymm22 {k7} {z}, ymm23, ymm24
0x62,0x82,0x47,0xa7,0x72,0xf0

# CHECK: vcvtne2ps2bf16 xmm22, xmm23, xmm24
0x62,0x82,0x47,0x00,0x72,0xf0

# CHECK: vcvtne2ps2bf16 xmm22 {k7}, xmm23, xmm24
0x62,0x82,0x47,0x07,0x72,0xf0

# CHECK: vcvtne2ps2bf16 xmm22 {k7} {z}, xmm23, xmm24
0x62,0x82,0x47,0x87,0x72,0xf0

# CHECK: vcvtne2ps2bf16 ymm22, ymm23, ymmword ptr [rbp + 8*r14 + 268435456]
0x62,0xa2,0x47,0x20,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16 ymm22 {k7}, ymm23, ymmword ptr [r8 + 4*rax + 291]
0x62,0xc2,0x47,0x27,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16 ymm22, ymm23, dword ptr [rip]{1to8}
0x62,0xe2,0x47,0x30,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtne2ps2bf16 ymm22, ymm23, ymmword ptr [2*rbp - 1024]
0x62,0xe2,0x47,0x20,0x72,0x34,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtne2ps2bf16 ymm22 {k7} {z}, ymm23, ymmword ptr [rcx + 4064]
0x62,0xe2,0x47,0xa7,0x72,0x71,0x7f

# CHECK: vcvtne2ps2bf16 ymm22 {k7} {z}, ymm23, dword ptr [rdx - 512]{1to8}
0x62,0xe2,0x47,0xb7,0x72,0x72,0x80

# CHECK: vcvtne2ps2bf16 xmm22, xmm23, xmmword ptr [rbp + 8*r14 + 268435456]
0x62,0xa2,0x47,0x00,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtne2ps2bf16 xmm22 {k7}, xmm23, xmmword ptr [r8 + 4*rax + 291]
0x62,0xc2,0x47,0x07,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtne2ps2bf16 xmm22, xmm23, dword ptr [rip]{1to4}
0x62,0xe2,0x47,0x10,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtne2ps2bf16 xmm22, xmm23, xmmword ptr [2*rbp - 512]
0x62,0xe2,0x47,0x00,0x72,0x34,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtne2ps2bf16 xmm22 {k7} {z}, xmm23, xmmword ptr [rcx + 2032]
0x62,0xe2,0x47,0x87,0x72,0x71,0x7f

# CHECK: vcvtne2ps2bf16 xmm22 {k7} {z}, xmm23, dword ptr [rdx - 512]{1to4}
0x62,0xe2,0x47,0x97,0x72,0x72,0x80

# CHECK: vcvtneps2bf16 xmm22, xmm23
0x62,0xa2,0x7e,0x08,0x72,0xf7

# CHECK: vcvtneps2bf16 xmm22 {k7}, xmm23
0x62,0xa2,0x7e,0x0f,0x72,0xf7

# CHECK: vcvtneps2bf16 xmm22 {k7} {z}, xmm23
0x62,0xa2,0x7e,0x8f,0x72,0xf7

# CHECK: vcvtneps2bf16 xmm22, ymm23
0x62,0xa2,0x7e,0x28,0x72,0xf7

# CHECK: vcvtneps2bf16 xmm22 {k7}, ymm23
0x62,0xa2,0x7e,0x2f,0x72,0xf7

# CHECK: vcvtneps2bf16 xmm22 {k7} {z}, ymm23
0x62,0xa2,0x7e,0xaf,0x72,0xf7

# CHECK: vcvtneps2bf16 xmm22, xmmword ptr [rbp + 8*r14 + 268435456]
0x62,0xa2,0x7e,0x08,0x72,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vcvtneps2bf16 xmm22 {k7}, xmmword ptr [r8 + 4*rax + 291]
0x62,0xc2,0x7e,0x0f,0x72,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vcvtneps2bf16 xmm22, dword ptr [rip]{1to4}
0x62,0xe2,0x7e,0x18,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtneps2bf16 xmm22, xmmword ptr [2*rbp - 512]
0x62,0xe2,0x7e,0x08,0x72,0x34,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vcvtneps2bf16 xmm22 {k7} {z}, xmmword ptr [rcx + 2032]
0x62,0xe2,0x7e,0x8f,0x72,0x71,0x7f

# CHECK: vcvtneps2bf16 xmm22 {k7} {z}, dword ptr [rdx - 512]{1to4}
0x62,0xe2,0x7e,0x9f,0x72,0x72,0x80

# CHECK: vcvtneps2bf16 xmm22, dword ptr [rip]{1to8}
0x62,0xe2,0x7e,0x38,0x72,0x35,0x00,0x00,0x00,0x00

# CHECK: vcvtneps2bf16 xmm22, ymmword ptr [2*rbp - 1024]
0x62,0xe2,0x7e,0x28,0x72,0x34,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vcvtneps2bf16 xmm22 {k7} {z}, ymmword ptr [rcx + 4064]
0x62,0xe2,0x7e,0xaf,0x72,0x71,0x7f

# CHECK: vcvtneps2bf16 xmm22 {k7} {z}, dword ptr [rdx - 512]{1to8}
0x62,0xe2,0x7e,0xbf,0x72,0x72,0x80

# CHECK: vdpbf16ps ymm22, ymm23, ymm24
0x62,0x82,0x46,0x20,0x52,0xf0

# CHECK: vdpbf16ps ymm22 {k7}, ymm23, ymm24
0x62,0x82,0x46,0x27,0x52,0xf0

# CHECK: vdpbf16ps ymm22 {k7} {z}, ymm23, ymm24
0x62,0x82,0x46,0xa7,0x52,0xf0

# CHECK: vdpbf16ps xmm22, xmm23, xmm24
0x62,0x82,0x46,0x00,0x52,0xf0

# CHECK: vdpbf16ps xmm22 {k7}, xmm23, xmm24
0x62,0x82,0x46,0x07,0x52,0xf0

# CHECK: vdpbf16ps xmm22 {k7} {z}, xmm23, xmm24
0x62,0x82,0x46,0x87,0x52,0xf0

# CHECK: vdpbf16ps ymm22, ymm23, ymmword ptr [rbp + 8*r14 + 268435456]
0x62,0xa2,0x46,0x20,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps ymm22 {k7}, ymm23, ymmword ptr [r8 + 4*rax + 291]
0x62,0xc2,0x46,0x27,0x52,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps ymm22, ymm23, dword ptr [rip]{1to8}
0x62,0xe2,0x46,0x30,0x52,0x35,0x00,0x00,0x00,0x00

# CHECK: vdpbf16ps ymm22, ymm23, ymmword ptr [2*rbp - 1024]
0x62,0xe2,0x46,0x20,0x52,0x34,0x6d,0x00,0xfc,0xff,0xff

# CHECK: vdpbf16ps ymm22 {k7} {z}, ymm23, ymmword ptr [rcx + 4064]
0x62,0xe2,0x46,0xa7,0x52,0x71,0x7f

# CHECK: vdpbf16ps ymm22 {k7} {z}, ymm23, dword ptr [rdx - 512]{1to8}
0x62,0xe2,0x46,0xb7,0x52,0x72,0x80

# CHECK: vdpbf16ps xmm22, xmm23, xmmword ptr [rbp + 8*r14 + 268435456]
0x62,0xa2,0x46,0x00,0x52,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: vdpbf16ps xmm22 {k7}, xmm23, xmmword ptr [r8 + 4*rax + 291]
0x62,0xc2,0x46,0x07,0x52,0xb4,0x80,0x23,0x01,0x00,0x00

# CHECK: vdpbf16ps xmm22, xmm23, dword ptr [rip]{1to4}
0x62,0xe2,0x46,0x10,0x52,0x35,0x00,0x00,0x00,0x00

# CHECK: vdpbf16ps xmm22, xmm23, xmmword ptr [2*rbp - 512]
0x62,0xe2,0x46,0x00,0x52,0x34,0x6d,0x00,0xfe,0xff,0xff

# CHECK: vdpbf16ps xmm22 {k7} {z}, xmm23, xmmword ptr [rcx + 2032]
0x62,0xe2,0x46,0x87,0x52,0x71,0x7f

# CHECK: vdpbf16ps xmm22 {k7} {z}, xmm23, dword ptr [rdx - 512]{1to4}
0x62,0xe2,0x46,0x97,0x52,0x72,0x80

